package com.china.produce.service.order;

import com.china.produce.pojo.order.OrderDTO;
import com.china.produce.service.OrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import java.util.concurrent.TimeUnit;

/**
 * @ClassName
 * @Author niujie
 * @Version
 * @Description
 * @CreateTime 2023/12/3
 */
@Service
@Slf4j
public class OrderServiceImpl implements OrderService {
    @Override
    public void solveRetry(OrderDTO order) {
        try {
            TimeUnit.SECONDS.sleep(2);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
